package com.zlc.workflow;

import com.zlc.common.util.AppUtils;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.core.env.Environment;

@MapperScan(basePackages = "com.zlc.common.core.*.mapper")
@EnableAspectJAutoProxy(proxyTargetClass = true)
@SpringBootApplication(scanBasePackages = "com.zlc")
public class WorkflowApplication {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(WorkflowApplication.class);
        Environment env = app.run(args).getEnvironment();
        AppUtils.logApplicationStartup(env);
    }

}
